package com.example.demo.service.impl;

import com.example.demo.entity.AfoneCategory;
import com.example.demo.mapper.AfoneCategoryMapper;
import com.example.demo.service.IAfoneCategoryService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 分类内容 服务实现类
 * </p>
 *
 * @author Mr.Xiayh
 * @since 2024-06-17
 */
@Service
public class AfoneCategoryServiceImpl extends ServiceImpl<AfoneCategoryMapper, AfoneCategory> implements IAfoneCategoryService {
    @Resource
    private AfoneCategoryMapper afoneCategoryMapper;

    @Override
    public AfoneCategory queryObject(Integer id) {
        return afoneCategoryMapper.queryObject(id);
    }

    @Override
    public List<AfoneCategory> queryList(Map<String, Object> map) {
        return afoneCategoryMapper.queryList(map);
    }

    @Override
    public int queryTotal(Map<String, Object> map) {
        return afoneCategoryMapper.queryTotal(map);
    }
}
